package com.gwclh.personnel.vo.uservo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@ApiModel("用户基本信息,除去密码")
@Data
@Accessors(chain = true)
public class BaseUserVo {

    @ApiModelProperty(value = "用户id")
    private Integer id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "头像URL")
    private String avatar;

    @ApiModelProperty(value = "角色，只有两个角色,0：普通hr，1：超级管理员(多出了用户管理)，默认为0")
    private String role;

    @ApiModelProperty(value = "状态,0禁用，1可用，默认1")
    private Boolean status;

    @ApiModelProperty(value = "创建时间，自动填充")
    private Date createTime;

    @ApiModelProperty(value = "更新时间，自动填充")
    private Date updateTime;
}
